package com.linchong.xshop.dto;

import java.io.InputStream;

/**
 * @BelongsProject:xshop
 * @BelongsPackage:com.linchong.xshop.dto
 * @Author:linchong
 * @CreateTime:2018-08-09 14:29
 * @Description:图片处理类
 */
public class ImageHolder {

    private String imageName;
    private InputStream image;

    public ImageHolder(String imageName,InputStream image){
        this.imageName = imageName;
        this.image = image;
    }

    public String getImageName(){
        return imageName;
    }

    public void setImageName(String imageName){
        this.imageName = imageName;
    }

    public void setImage(InputStream image) {
        this.image = image;
    }

    public InputStream getImage(){
        return image;
    }
}
